projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967a91b
)
(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Jan 2006 20:44:10 +0000
(20:44 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 27 Jan 2006 20:44:10 +0000
(20:44 +0000)
src/dired.c
patch
|
blob
|
history
diff --git
a/src/dired.c
b/src/dired.c
index 35a69780a3b03016b9e3521b5ac6a6a8c5f5b627..474683c3c871a0569ce2200687fa1014f0c2549b 100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-85,7
+85,8
@@
extern struct direct *readdir ();
#endif /* not MSDOS */
#endif /* not SYSV_SYSTEM_DIR */
-#ifdef MSDOS
+/* Some versions of Cygwin don't have d_ino in `struct dirent'. */
+#if defined(MSDOS) || defined(__CYGWIN__)
#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
#else
#define DIRENTRY_NONEMPTY(p) ((p)->d_ino)